package com.itheima.service.db;

import com.itheima.domain.db.User;

public interface UserService {
    //保存后返回用户的id  主键
    Long save(User user);

    //根据手机号查询
    User findByPhone(String phone);


    User findById(Long userId);
}
